<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<!-- CSS 文件 ，不要删，不够自己添加 -->
<link rel="stylesheet" href="../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../css/bootstrap-table.min.css">
<link rel="stylesheet" href="../assets/css/azzara.min.css">
<link rel="stylesheet" href="../assets/css/demo.css">
<body>

<!--这里选择的是80%的容器，如果需要100%的话，自己修改一下-->
<div class="container">
    <!--内容在这里面添加就好了-->

    <div class="container-fluid" id="zhudiv">
        <table id="gx"></table>
    </div>


    <div style="text-align: right;" class="gxmx">
        <button class="btn btn-primary"  onclick="tongguo()" >通过</button>
        <button class="btn btn-primary"  onclick="butongguo()" >不通过</button>
        <button class="btn btn-secondary" onclick="fanhuishen()">返回审核列表</button>
    </div>
    <div class="container-fluid gxmx" style="border: 1px solid black;">
        <h1 style="text-align: center;">工序物料设计单</h1>
        <form id="gxfrom">
            <div style="width: 48%;display: inline-block">
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">工序单编号:</label>
                    <div class="col-md-9 p-0">
                        <span id="gxdbh"></span>
                    </div>
                </div>

                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">设计人:</label>
                    <div class="col-md-9 p-0">
                        <span name="designer"></span>
                    </div>
                </div>

            </div>
            <div style="width: 48%;display: inline-block">

                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">产品名称:</label>
                    <div class="col-md-9 p-0">
                        <span id="name"></span>
                    </div>
                </div>

                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">产品编号:</label>
                    <div class="col-md-9 p-0">
                        <span id="bh" name="productId"></span>
                    </div>
                </div>

            </div>

            <table class="table table-bordered table1">
                <tr>
                    <th>序号</th>
                    <th>工序名称</th>
                    <th>工序编号</th>
                    <th>工时数</th>
                    <th>工时成本小计</th>
                    <th>物料成本小计</th>
                    <th>查看</th>
                </tr>
                <tbody id="wlsjmx"></tbody>
            </table>
            <div style="width: 48%;display: inline-block">
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">工时总成本:</label>
                    <div class="col-md-9 p-0">
                        <span id="zcb"></span>
                    </div>
                </div>
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">设计要求:</label>
                    <div class="col-md-9 p-0">
                        <span id="yq"></span>
                    </div>
                </div>
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">登记人:</label>
                    <div class="col-md-9 p-0">
                        <span id="djr"></span>
                    </div>
                </div>
            </div>
            <div style="width: 48%;display: inline-block">
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">物料总成本:</label>
                    <div class="col-md-9 p-0">
                        <span id="wlcb"></span>
                    </div>
                </div>
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">登记时间:</label>
                    <div class="col-md-9 p-0">
                        <span id="djtime"></span>
                    </div>
                </div>
            </div>
        </form>
    </div>

    <div class="container-fluid" id="gxwlmx">
        <div style="text-align: right;">
            <button class="btn btn-primary" onclick="queding()">返回</button>
        </div>

        <table class="table table-bordered">
            <tr>
                <th>序号</th>
                <th>物料名称</th>
                <th>材料编号</th>
                <th>本工序数量</th>
                <th>单位</th>
                <th>单价(元)</th>
                <th>小计(元)</th>
            </tr>
            <tbody id="gxwlmx2"></tbody>
        </table>
    </div>
</div>
<!--js用到的包，不够在自己添加-->
<script src="../js/jquery.3.2.1.min.js"></script>
<script src="../js/popper.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap-table.min.js"></script>
<script src="../js/bootstrap-table-zh-CN.min.js"></script>
<script src="../js/common.js"></script>
<script src="js/gxwlsjdsh.js"></script>
</body>
</html>